package com.gzhryc.net_marketing.api.protocol.goods;

import com.gzhryc.common.api.SecurityRequest;
import com.gzhryc.net_marketing.core.models.GoodsSpaceItem;

import java.io.Serializable;
import java.util.List;

/**
 * 商品审核请求
 */
public class GoodsApplyAuditRequest extends SecurityRequest<GoodsApplyAuditRequest.Body> {

    private static final long serialVersionUID = 1L;

    public GoodsApplyAuditRequest() {
        super();
        this.body = new GoodsApplyAuditRequest.Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private Long goodsId;
        private Long supplierId;
        private String name;
        private String thumbnailImg;
        private String imgs;
        private String detailImgs;       //详情图
        private String labels;
        private Integer classify;
        private String typeCodes;
        private String typeNames;
        private String note;
        private Integer payMoney;

        private List<GoodsSpaceItem> spaceItemList;

        private Long auditId;       //审核ID，如果为空则代表新提交或重新提交，有则代表查询审核结果

        public Long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(Long goodsId) {
            this.goodsId = goodsId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumbnailImg() {
            return thumbnailImg;
        }

        public void setThumbnailImg(String thumbnailImg) {
            this.thumbnailImg = thumbnailImg;
        }

        public String getImgs() {
            return imgs;
        }

        public void setImgs(String imgs) {
            this.imgs = imgs;
        }

        public String getDetailImgs() {
            return detailImgs;
        }

        public void setDetailImgs(String detailImgs) {
            this.detailImgs = detailImgs;
        }

        public Integer getClassify() {
            return classify;
        }

        public void setClassify(Integer classify) {
            this.classify = classify;
        }

        public String getLabels() {
            return labels;
        }

        public void setLabels(String labels) {
            this.labels = labels;
        }

        public String getTypeCodes() {
            return typeCodes;
        }

        public void setTypeCodes(String typeCodes) {
            this.typeCodes = typeCodes;
        }

        public String getTypeNames() {
            return typeNames;
        }

        public void setTypeNames(String typeNames) {
            this.typeNames = typeNames;
        }

        public Long getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(Long supplierId) {
            this.supplierId = supplierId;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public Integer getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(Integer payMoney) {
            this.payMoney = payMoney;
        }

        public Long getAuditId() {
            return auditId;
        }

        public void setAuditId(Long auditId) {
            this.auditId = auditId;
        }

        public List<GoodsSpaceItem> getSpaceItemList() {
            return spaceItemList;
        }

        public void setSpaceItemList(List<GoodsSpaceItem> spaceItemList) {
            this.spaceItemList = spaceItemList;
        }
    }
}
